<!doctype html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
    <body>
        <h1>已提交</h1>
        <div>
            <h2>Context 信息</h2>
            <p>ContextPath: <span th:text="${#ctx.contextPath}"></span></p>
        </div>

        <div>
            <h2>Request Response 信息</h2>
            <p>Request URI: <span th:text="${#request.requestURI}"></span></p>
            <p>Request Method: <span th:text="${#request.method}"></span> </p>
            <p>Response Status: <span th:text="${#response.status}"></span></p>
            <p>Response Header: <span th:text="${#response.headerNames}"></span></p>
        </div>

        <div>
            <h2>Session 信息</h2>
            <p>Session ID: <span th:text="${#session.id}"></span></p>
            <p>Session Attribute: <span th:text="${#session.getAttribute('user')}"></span> </p>
        </div>

        <div>
            <h2>ServletContext 信息</h2>
            <p>Context Attribute:<span th:text="${#servletContext.getAttribute('appConfig')}"></span></p>
        </div>


    </body>
</html>